$OpenBSD: patch-scripts_xflock4,v 1.1 2012/05/22 10:03:06 stsp Exp $
http://bugzilla.xfce.org/show_bug.cgi?id=8830
--- scripts/xflock4.orig	Sat Apr 28 22:43:27 2012
+++ scripts/xflock4	Tue May 22 10:50:08 2012
@@ -21,7 +21,7 @@
 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #
 
-PATH=/bin:/usr/bin
+PATH=/bin:/usr/bin:${LOCALBASE}/bin:${X11BASE}/bin
 export PATH
 
 # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
